package per.hnvcam.searchext.services;

import org.apache.tika.exception.TikaException;
import org.xml.sax.SAXException;
import per.hnvcam.searchext.data.model.ConditionData;

import java.io.IOException;
import java.net.URL;
import java.util.List;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: Vi Cam
 * Date: 12/01/2012
 * Time: 10:59
 * To change this template use File | Settings | File Templates.
 */
public interface ClassificationService {
   void reloadParameters();
   List<String> classify(URL target) throws IOException, SAXException, TikaException;
   List<String> classify(List<ConditionData> sample);
   String getTypeName(String type);
   Map<String, String> searchGoogleFor(String searchString) throws IOException, SAXException, TikaException;
}
